===### malakonline.net ###===
===### Khalid ###===
===### hostandsurf.com ###===
      .
       
  
 :     php  html
    

  : 
  : Dani
 :    
3.3x
www.malakonline.net/vb
          khalid
             10  
   
===============================
  :
      .    

  forumdisplay.php



foreach ($parentlist AS $forumID)
                {
                    $forumTitle = $forumcache["$forumID"]['title'];
                    $navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle;
                } 



// ################   ######################
                foreach ($parentlist AS $forumID)   
                {
                    $forumTitle = $forumcache["$forumID"]['title'];
    $forumURL = strtolower(str_replace(" ", "-",str_replace("/", "-", $forumTitle)));     
                    $navbits["f$forumID-$forumURL.html"] = $forumTitle;
                }
// ################   ###################### 



$thread = process_thread_array($thread, $lastread, $foruminfo['allowicons']);



// ################   ######################
               $thread['url'] = strtolower(str_replace(" ", "-", $thread['threadtitle']));
               $thread['url'] = ereg_replace("[\/!$%^&*,.;:'#@~{}|=+`<>?]+", "", $thread['url']);
// ################   ###################### 


    


  showthread.php



foreach ($parentlist AS $forumID)
               {
                   $forumTitle = $forumcache["$forumID"]['title'];
                   $navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle;
               } 



// ################   ######################
               foreach ($parentlist AS $forumID)
               {
                   $forumTitle = $forumcache["$forumID"]['title'];
                   $forumURL = strtolower(str_replace(" ", "-",str_replace("/", "-", $forumTitle)));
                   $navbits["f$forumID-$forumURL.html"] = $forumTitle;
               }
// ################   ###################### 


    


  search.php




$thread = process_thread_array($thread, $lastread["$thread[forumid]"]);


 

// ################   ######################
          $thread['url'] = strtolower(str_replace(" ", "-", $thread['threadtitle']));
          $thread['url'] = ereg_replace("[\/!$%^&*,.;:'#@~{}|=+`<>?]+", "", $thread['url']);
// ################   ######################


    


  includes/functions_forumlist.php



// do light bulb
              $forum['statusicon'] = fetch_forum_lightbulb($forumid, $lastpostinfo, $forum);

 

// ################   ######################
               $forum['url'] = strtolower(str_replace(" ", "-",str_replace("/", "-", $forum['title'])));
// ################   ###################### 


                530


$forumperms = $bbuserinfo['forumpermissions']["$forumid"];


 


// ################   ######################
               $forum['url'] = strtolower(str_replace(" ", "-",str_replace("/", "-", $forum['title'])));
// ################   ###################### 


    


  includes/functions_online.php




// ###################### Start showonline ####################### 


 

// ######################   #################
               function mod_rewrite_title($title)
               {
                   $rewritten = strtolower(str_replace(" ", "-",str_replace("/", "-", $title)));
                   return ereg_replace("[\/!$%^&*,.;:'#@~{}|=+`<>?]+", "", $rewritten);
               }
// ######################   ################# 


              



<a href="showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>

  

<a href="t$threadid-" .mod_rewrite_title($threadtitle). ".html\" title=\"$threadpreview\">$threadtitle</a>

            



<a href="forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>

  

<a href="f$forumid-" .mod_rewrite_title($forumtitle). ".html\">$forumtitle</a>

  

convert_short_varnames($values);
             $userinfo['values'] = $values; 

 

// ####################   #################
                 if (eregi("t([0-9]+)-(.*).html$", $filename, $tmatch)) {
                     $filename = 'showthread.php';
                     $values['threadid'] = $tmatch[1];
                 }
             
                 if (eregi("f([0-9]+)-(.*).html$", $filename, $fmatch)) {
                     $filename = 'forumdisplay.php';
                     $values['forumid'] = $fmatch[1];
                 }
// ####################   ################# 


  :
 

    

forumhome_forumbit_level1_nopost
forumhome_forumbit_level1_post
forumhome_forumbit_level2_nopost
forumhome_forumbit_level2_post
forumhome_subforumbit_nopost
forumhome_subforumbit_post


 

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"> 

 

<a href="f$forum[forumid]-$forum[url].html">$forum[title]</a>


  forumhome_lastpostby 



<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>



<a href="newpostinthread$lastpostinfo[lastthreadid].html" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>




<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>



<a href="lastpostinthread$lastpostinfo[lastthreadid].html"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>



<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>



<a href="lastpostinthread$lastpostinfo[lastthreadid].html"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>


  threadbit



<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]">



<a href="lastpostinthread$thread[threadid].html"> 



<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]">



<a href="newpostinthread$thread[threadid].html"> 



<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]">



<a href="t$thread[threadid]-$thread[url].html">



<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]">



<a href="lastpostinthread[threadid].html">


  :

    
.htaccess
     

 

RewriteEngine on
   Options +FollowSymLinks
   RewriteRule ^t([0-9]+).html$ showthread.php?t=$1 [L]
   RewriteRule ^lastpostinthread([0-9]+).html$ showthread.php?goto=lastpost&t=$1 [L]
   RewriteRule ^newpostinthread([0-9]+).html$ showthread.php?goto=newpost&t=$1 [L]
RewriteRule ^f([0-9]+).html$ forumdisplay.php?f=$1 [L] 

      



khalid

www.malakonline.net/vb


===================

www.hostandsurf.com

hostandsurf@hotmail.com
